home *** CD-ROM | disk | FTP | other *** search
/ BBS Toolkit / BBS Toolkit.iso / doors_2 / tyahtz50.zip / YAHTZEE.DOC < prev    next >
Text File  |  1992-09-25  |  22KB  |  494 lines

  1.  
  2.                             TRIPLE   YAHTZEE
  3.  
  4.                                   v5.0
  5.  
  6.                                    by
  7.  
  8.                               Al Lawrence
  9.  
  10.                             Sunrise-80  BBS
  11.                             (404) 256-9525
  12.  
  13.  
  14.  
  15.  
  16.                                 OVERVIEW
  17.                                 ________
  18.  
  19.  
  20.    Triple Yahtzee is played exactly like the board game. A high score file
  21.    is maintained  (size is controlled from the configuration file). Since
  22.    this game can take a while to play to completion,  a game save feature
  23.    has been included. This feature allows the caller to save the  game
  24.    contents and return to the same game on their next call automatically.
  25.  
  26.  
  27.  
  28.    NOTE: Most errors will be logged to a file called DFRAME.ERR, which is
  29.          created in the directory you run the door from.
  30.  
  31.  
  32.  
  33.                               INSTALLATION
  34.                               ____________
  35.  
  36.  
  37.    Installation is fairly easy and straight-forward. The following steps and
  38.    examples should have you up and running in a very short period of time.
  39.    It is assumed that you are familiar with setting up DOORS on your system.
  40.    To this end, only examples of the configuration file and Door batch file
  41.    are described.
  42.  
  43.       1) Create a directory to hold all YAHTZEE files
  44.  
  45.       2) Unzip TYAHTZxx.ZIP into the the above directory
  46.  
  47.          NOTE: BRUN45.EXE is not included but is required !!!
  48.  
  49.       3) Create a configuration file, with a name of your choice, or
  50.          modify the supplied YAHTZEE.CFG file. A description follows:
  51.  
  52.             **                       Location of System file
  53.  
  54.             SUNRISE-80 BBS           Your BBS Name
  55.  
  56.             Al                       SYSOP's First Name
  57.  
  58.             Lawrence                 Sysop's Last Name
  59.  
  60. |-----------------------------------------------------------------------------|
  61. | READ!     1                        CommPort  \ These 2 lines are required   |
  62. | READ!     1                        Node #    / ONLY for GTUSER.BBS          |
  63. |-----------------------------------------------------------------------------|
  64.  
  65.             00000000                 Registration Number
  66.  
  67.             50                       Number of Top Score entries.
  68.                                      Minimum = 10, Maximum = 99.
  69.  
  70.         #   2                        Keyboard timeout value in minutes.
  71.                                      If key not depressed for 2 minutes
  72.                                      board is saved and caller is returned
  73.                                      to BBS. Minimum=2, Maximum=5
  74.  
  75.         #   NONE                     Drive:\Path\Filename to contain the
  76.                                      Top Score Bulletin or enter NONE
  77.                                      for NO Bulletin creation.
  78.  
  79.         #   NONE                     Drive:\Path\Filename to contain the
  80.                                      Top Score Bulletin (Color) or enter NONE
  81.                                      for NO Bulletin creation.
  82.  
  83.             1                        Initial setting of the HOTKEY feature.
  84.                                      1=ON, 0=OFF. Default will be 1 if any
  85.                                      other value is encountered.
  86.  
  87.             2                        1 = DO NOT Display the ADOPT-A-DOOR Msg
  88.                                      2 = DO Display the ADOPT-A-DOOR Message
  89.                                      When YAHTZEE is Registerd, this option
  90.                                      will have no effect. This option is for
  91.                                      those Sysops that do not like the
  92.                                      ADOPT-A-DOOR Concept.
  93.  
  94.             
  95.         #   1                        Color of Main Portion of Board
  96.                                      1=Blue, 4=Red, 5=Magenta, 14=Yellow
  97.  
  98.             2                        1=Caller will appear only one time in the
  99.                                        HiScore file
  100.                                      2=Caller can appear any number of times in
  101.                                        then Hiscore file
  102.  
  103.  
  104.     !   #   1                        Number of games allowed each day
  105.                                      (Sysop gets 99 in registered version ONLY!)
  106.  
  107.     !   #   0                        Time Allowed in Door
  108.                                      (0 = BBS call time remaining)
  109.                                      (Sysop = Time Remaining - REG. VERSION)
  110.  
  111.     !   #   000=00/00                 Security Level/Games Allowed Per Day
  112.     !   #   000=00/00                 Security Level/Games Allowed Per Day
  113.     !   #   000=00/00                 Security Level/Games Allowed Per Day
  114.     !   #   000=00/00                 Security Level/Games Allowed Per Day
  115.     !   #   000=00/00                 Security Level/Games Allowed Per Day
  116.     !   #   000=00/00                 Security Level/Games Allowed Per Day
  117.     !   #   000=00/00                 Security Level/Games Allowed Per Day
  118.     !   #   000=00/00                 Security Level/Games Allowed Per Day
  119.     !   #   000=00/00                 Security Level/Games Allowed Per Day
  120.     !   #   000=00/00                 Security Level/Games Allowed Per Day
  121.  
  122.     @   #   XXXX/YYYY                 Blackout Range  From/To
  123.     @   #   XXXX/YYYY                 Blackout Range  From/To
  124.     @   #   XXXX/YYYY                 Blackout Range  From/To
  125.     @   #   XXXX/YYYY                 Blackout Range  From/To
  126.     @   #   XXXX/YYYY                 Blackout Range  From/To
  127.  
  128.  
  129.        ** = Replace with ONE of the following:
  130.  
  131. C:\PCB\PCBOARD.SYS              <- For PCBoard systems using PCBOARD.SYS only
  132. C:\BBS\CALLINFO.BBS             <- For Wildcat! systems (prior to v3.0)
  133. C:\BBS\USERINFO.DAT             <- For Wildcat! systems using v3.x
  134.                                    (Note:DOOR.SYS must be in SAME directory)
  135. C:\BBS\DOOR.SYS                 <- For ANY systems that support DOOR.SYS
  136. C:\BBS\DORINFOx.DEF             <- For ANY systems that support DORINFOx.DEF
  137. C:\BBS\SFDOORS.DAT              <- For Spitfire systems.
  138. c:\bbs\TRIBBS.SYS               <- For TriBBS systems.
  139. C:\BBS\CHAIN.TXT                <- For WWIV systems 
  140. C:\BBS\GTUSER.BBS               <- For GT Power 
  141.                                    * if using this option you must put the
  142.                                      ComPort # on line 5 and the Node # on
  143.                                      line 6 of the configuration file
  144.  
  145.  
  146.  
  147.         # = Requires registration to change to a different value
  148.         ! = See "Plays Per DAY/DOOR Time" Below
  149.         @ = See "Blackout Periods" Below
  150.  
  151.  
  152.       4) Create a batch file or modify the YAHTZEE file supplied. A
  153.          description of this file follows:
  154.  
  155.             ECHO off
  156.             cd\PCB\DOORS\YAHTZEE      Location of Yahtzee files
  157.             YAHTZEE YAHTZEE.CFG       EXE filename and CFG filename (Name
  158.                                       used in creating file in #3 above)
  159.             CD\PCB
  160.             BOARD
  161.  
  162.  
  163.        5) When running in more than one node, be sure to supply a
  164.           different configuration name for each node (your choice of name).
  165.  
  166.  
  167.  
  168.                           BLACKOUT PERIODS
  169.                           ________________
  170.  
  171.       Use the Blackout ranges option to define up to 5 time periods during
  172.       which you DO NOT want the Door to be played. If a caller tries to access 
  173.       the Door during the Blackout period, they will be shown a message that
  174.       contains ALL the Blackout periods you have defined, and to try the Door
  175.       at a later time.
  176.  
  177.       Each of the 5 Blackout ranges takes the form of XXXX/YYYY, where
  178.       XXXX=beginning time and YYYY=the ending time. For example, 0930/1230
  179.       means to NOT allow the Door to be played between 9:30am and 12:30pm.
  180.  
  181.       IMPORTANT: - All times must be 4 digits & must follow the XXXX/YYYY format
  182.                  - DO NOT change the XXXX/YYYY entry UNLESS you want to assign
  183.                    a Blackout range.
  184.                  - You MUST use the MILITARY time format. Example: 2030=8:30pm
  185.                    0900=9am, 0030=12:30am, 1700=5pm, etc.
  186.             NOTE: There should be NO BLANK LINES in the configuration file!
  187.  
  188.  
  189.  
  190.                           PLAYS Per DAY/DOOR Time
  191.                           _______________________
  192.  
  193.       Plays Per Day and Door Time can be controlled several ways:
  194.  
  195.       (1) You can use the Games Per Day, singular option, in the config
  196.           file above. This option, will affect ALL callers whose Security
  197.           Level is NOT defined in any of the 10 optional Security Level/
  198.           Plays Per Day entries in the config file.
  199.  
  200.       (2) You can use the Door Time, singular option, in the config file
  201.           above. This option, will affect ALL callers whose Security
  202.           Level is NOT defined in any of the 10 optional Security Level/
  203.           Plays Per Day/Door Time entries in the config file.
  204.  
  205.       (3) You can restrict the number of games a specific Security Level
  206.           will be allowed to play per day or REWARD specific Levels with 
  207.           more Plays Per Day. 
  208.  
  209.           Likewise, you can restrict the Play time for a specific Security
  210.           Level or REWARD specific Levels with more Door Time.
  211.  
  212.           These options are handled by the use of the 10 config 
  213.           entries (000=00/00). 
  214.           
  215.           The format of each entry is as follows:
  216.  
  217.           XXX=YY/ZZ  where XXX is the Security Level (must be 3 digits)
  218.                      where =  is a constant and MUST be included
  219.                      where YY is the # of games per day (must be 2 digits)
  220.                      where / is a constant and MUST be included
  221.                      where ZZ is num. minutes per Door entry (must be 2 digits)
  222.           
  223.           If the callers Security Level is NOT defined, his/her Plays Per
  224.           Day and Door Time will be controlled by the values in items
  225.           (1) and (2), above, respectively..
  226.  
  227.           You may define up to 10 Security Levels. All unused entries must
  228.           be defined as   000=00/00
  229.         --------------------------------------------------------------------
  230.           Example: Suppose you had 3 Security Levels defined on your BBS as
  231.           (20=Subscriber, 30=Visiting Sysop, 40=CoSysop, 90=Friend) and you 
  232.           wanted to set Plays Per Day as :     Subscriber=5
  233.                                            Visiting Sysop=2
  234.                                                   CoSysop=3
  235.                                                    Friend=10 
  236.           
  237.           and Door Time as follows:     Subscriber=30 minutes
  238.                                     Visiting Sysop=20 minutes
  239.                                            CoSysop=10 minutes 
  240.                                             Friend=remaining call time
  241.                                
  242.  
  243.           You would set the Individual "Games per Day" config entry to 1 and 
  244.           the individual "Door Time" to 5 minutes (these would be the 
  245.           default number of games and default Time for all Security Levels
  246.           other than 20,30 or 40... make them any number you want). Next you
  247.           would replace 4 of the Security Level entries as :  020=05/30                                               
  248.                                                               030=02/20
  249.                                                               040=03/10
  250.                                                               090=10/0
  251.  
  252.  
  253.                         NON-STANDARD COM SUPPORT
  254.                         ________________________
  255.  
  256.       Support for COM 1-4 on the standard IRQ's - COM1/COM3 = IRQ4 and
  257.       COM2/COM4 = IRQ3. If you wish to use a non-standard IRQ, add the IRQ
  258.       number after the configuration filename. Let's assume your Door is
  259.       called FOOBAR and you want to use COM1 and IRQ5. The command line
  260.       passed to your Door would be:
  261.  
  262.                             FOOBAR FOOBAR.CFG /5
  263.  
  264.       The /5 tells FOOBAR to use IRQ5 rather than the standard IRQ4 that is
  265.       normally used with COM1. No /x parameter is needed for the standard
  266.       IRQ's.
  267.  
  268.       As an alternative, you may use an environmental variable on the command
  269.       line. To use the variable (following the example above), place a 
  270.       SET IRQ=5 in the batch file used to bring up your BBS (you would need a 
  271.       different IRQ number for each node). The command line would now look 
  272.       like this: 
  273.  
  274.                           FOOBAR FOOBAR.CFG /%IRQ%
  275.       
  276.       This, in combination with the use of the environmental variables 
  277.       described in the MULTI-NODE SETUP section will allow you to use one 
  278.       batch file and one config file to run this door on all nodes.
  279.  
  280.  
  281.  
  282.  
  283.                            MULTI-NODE SETUP
  284.                            ________________
  285.  
  286.       All Sunrise Doors are Multi-Node capable. Each node must have the 
  287.       ability to access a configuration file which will have its own system 
  288.       file (DORINFOx.DEF, PCBOARD.SYS, DOOR.SYS, etc) defined on the first 
  289.       line. There are 2 ways to accomplish this:
  290.  
  291.       (1) Create a separate configuration file for each node. The only 
  292.           difference between each file would be the location of the system 
  293.           file for that particular node. For example, on my system there are 2
  294.           nodes and the first line of the config files would look like this:
  295.  
  296.                         NODE1:  H:\PCB1\DOOR.SYS
  297.                         NODE2:  H:\PCB2\DOOR.SYS
  298.  
  299.           Thus, if you have a 4 node BBS, you will need 4 configuration files.
  300.  
  301.       (2) Use ONE configuration file for ALL nodes. This Door will recognize 
  302.           the following PCBoard environmental variables:
  303.  
  304.                  PCBDIR    (Directory containing the System file)
  305.                  PCBDRIVE  (Drive containing the System file)
  306.  
  307.           Thus, the first line of the SINGLE configuration file, for this Door
  308.           would look like this:
  309.  
  310.                         %PCBDRIVE%%PCBDIR%\DOOR.SYS
  311.  
  312.       NOTE: This option, as described, assumes that you are running PCBoard 
  313.             14.5a software. The environmental variables are automatically 
  314.             created by the software for each node.
  315.  
  316.             HOWEVER, if you are running other BBS software you should be able
  317.             to set the variables EXACTLY as described below, for EACH node 
  318.             (more than likely in each batch file you use to bring up EACH node):
  319.  
  320.                             PCBDRIVE=C:
  321.                             ^^^^^^^^^
  322.                             PCBDIR=\NODE2
  323.                             ^^^^^^^^
  324.             
  325.             Info with a carat (^) under it, MUST be typed as is. The rest 
  326.             depends on your naming conventions. 
  327.  
  328.             This, in combination with the use of the optional environmental
  329.             variable described in the NON-STANDARD COM SUPPORT section, will
  330.             allow you to use one batch file and one config file to run this 
  331.             door on all nodes.
  332.  
  333.  
  334.  
  335.  
  336.                       UPLOADED SCORE UPDATING(PC-YAHTZEE)
  337.                       ___________________________________
  338.     
  339.    
  340.     Triple Yahtzee's companion program, PC-YAHTZEE, is used by your callers 
  341.     to play Triple Yahtzee offline on their PC's. When they register PC-YAHTZEE,
  342.     they unlock the ability to upload their scores to your BBS. You in turn 
  343.     combine all uploaded scores and merge them into your BBS' Triple Yahtzee
  344.     high score file. You have the option to implement this feature or not.
  345.     
  346.     Your callers will be uploading numeric filenames with .UPL as the
  347.     extension (ex: 12345678.UPL). You can have them upload them to a private
  348.     upload directory or to your regular upload directory. If you choose the
  349.     regular upload directory, then be sure you allow uploads with a .UPL 
  350.     extension. The uploaded filename is a fixed format, unique to each user
  351.     of PC-YAHTZEE. Be sure to let your callers know how/where to upload their
  352.     Yahtzee High Score files !
  353.  
  354.     I would appreciate your posting the latest PC-YAHTZEE program as I believe
  355.     it will benefit the throughput of your board, by reducing the amount of 
  356.     time spent playing Triple Yahtzee. Please be sure to download a copy for
  357.     yourself and POST one on your BBS!!!    
  358.     
  359.     Should you decide to implement (and I would suggest that you do), use the
  360.     following batch file (modify where appropriate) to automate this updating
  361.     process.
  362.  
  363.        
  364.            (1) D:
  365.            (2) CD\NEWUPLD
  366.            (3) COPY *.UPL YAHTZEE.CMB
  367.            (4) DEL *.UPL
  368.            (5) COPY YAHTZEE.CMB C:\PCB\DOORS\YAHTZEE3\
  369.            (6) DEL YAHTZEE.CMB
  370.            (7) C:
  371.            (8) CD\C:\PCB\DOORS\YAHTZEE3
  372.            (9) YAHTZMRG YAHTZEE.CFG
  373.           (10) DEL YAHTZEE.CMB
  374.  
  375.      (1) Change to D: drive
  376.      (2) Change to directory containing the uploaded score files
  377.      (3) Merge all .UPL files into YAHTZEE.CMB (DO NOT rename YAHTZEE.CMB !!!)
  378.      (4) Delete uploaded files (*.UPL)
  379.      (5) Copy YAHTZEE.CMB to Triple Yahtzee door directory
  380.      (6) Delete YAHTZEE.CMB from upload directory
  381.      (7) Change to C: drive
  382.      (8) Change to Triple Yahtzee door directory
  383.      (9) Merge uploaded scores with YAHZTEE.SCO file(Use Yahtzee config file)
  384.     (10) Delete YAHTZEE.CMB
  385.  
  386.          NOTE: This can be run in a nightly event process!!
  387.  
  388.     When merging, YAHTZMRG.EXE will reject duplicate entries within the 
  389.     uploaded file(s) as well as entries that duplicate existing entries 
  390.     in the YAHTZEE.SCO file. The uploaded score file(s) are created by 
  391.     PC-YAHTZEE. Any attempt to change these scores with an editor will
  392.     result in YAHTZMRG rejecting them outright.
  393.  
  394.  
  395.  
  396.                                ADOPT-A-DOOR
  397.                                ____________
  398.  
  399.     Having been a Sysop for a number of years, I have had my share of problems
  400.     and frustrations getting financial support for my board's upkeep. A fellow
  401.     Sysop left a message on my board, not long ago, about a concept that was
  402.     being used by several boards around the country.
  403.  
  404.     The concept, ADOPT-A-DOOR, allows a caller to register (ADOPT) a door. It
  405.     would be the same as sending in a donation, only this way it is earmarked
  406.     for registering a particular door. In a way, the user feels he/she is
  407.     "getting something in return". As a Door author I have decided to build
  408.     this concept into each of my Door programs. The concept replaces the
  409.     usual message "tell the Sysop to register this Door" we find in most
  410.     doors.
  411.  
  412.     If the Door is unregisterd then a message appears on the opening screen
  413.     to that effect. After finishing or suspending a game, a message screen
  414.     is displayed about the ADOPT-A-DOOR concept. The message also tells the
  415.     caller to contact the Sysop to find out if there is any further details
  416.     to the ADOPT-A-DOOR concept. Some Sysops give extra D/L time, online
  417.     time, etc to callers that ADOPT-A-DOOR.
  418.  
  419.     If the Door has been registered, either by the Sysop or other callers,
  420.     the names of those contributors will be displayed in the closing screen.
  421.  
  422.     NOTE: If you want to display the names of the callers that contributed
  423.           to registering the Door, you must create an ASCII file called
  424.           ADOPT.SYS. You create it with an Editor or Word Processor. Enter
  425.           the name(s) of the contributors (one on each line, maximum of 5
  426.           entries, each a maximum of 30 characters long). This file must be
  427.           saved, in ASCII format, and placed in the Door directory.
  428.  
  429.  
  430.  
  431.                               LEGALITIES
  432.                               __________
  433.  
  434.  
  435.       THIS SOFTWARE AND ACCOMPANYING MATERIALS ARE DISTRIBUTED "AS IS"
  436.       WITHOUT WARRANTY, EXPRESS, IMPLIED OR STATUTORY, INCLUDING BUT NOT
  437.       LIMITED TO ANY IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
  438.       FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL ANYONE INVOLVED WITH
  439.       THE CREATION AND PRODUCTION OF THIS PRODUCT BE LIABLE FOR INDIRECT,
  440.       SPECIAL, OR CONSEQUENTIAL DAMAGES, ARISING OUT OF ANY USE THEREOF
  441.       OR BREACH OF ANY WARRANTY.
  442.  
  443.  
  444.  
  445.  
  446.  
  447.                              DISTRIBUTION
  448.                              ____________
  449.  
  450.    You may make this file available for downloading from your BBS or you may
  451.    upload it to any BBS of your choice, provided that you do not make any
  452.    changes to the contents of the archive (ZIP file). The archive and its
  453.    individual contents may not be used by any service that charges any money
  454.    whatsoever, without the written permission of the author.
  455.  
  456.  
  457.  
  458.  
  459.  
  460.                              REGISTRATION
  461.                              ____________
  462.  
  463.    Registration and the subsequent insertion of the registration number into
  464.    your configuation file, allows for the display of your BBS name on the
  465.    opening and closing screen as well as the reduction of a delay built into
  466.    the opening screen display along with the ability to change certain values
  467.    in the configuration file.
  468.  
  469.    To register your copy of YAHTZEE, please fill out the registration form
  470.    (REGISTER.FRM) and mail it along with the registration fee to
  471.    the name and address on the form.
  472.  
  473.    Be sure to use the proper upper/lower case when filling in your name and
  474.    BBS name, as they MUST match the way you entered them in the configuration
  475.    file.             ^^^^
  476.  
  477.    Based upon information supplied on the registration form, I will pre-
  478.    register you on my BBS. You will then be able to call SUNRISE-80 and pick
  479.    up your registration number or supply a self-addressed stamped envelope.
  480.  
  481.  
  482.  
  483.                                  MISC
  484.                                  ____
  485.  
  486.    The latest version of TRIPLE YAHTZEE and other fine SUNRISE DOOR programs
  487.    are always available for download from SUNRISE-80 BBS and/or SALTAIR BBS.
  488.  
  489.    Remember, should you have any problems, questions or suggestions, be sure
  490.    to drop me a message on either of the aforementioned BBS' or via the 
  491.    DOORS conference on PCRELAY/RIME, Node=SUNRISE.
  492.  
  493.  
  494.